package com.example.ioc.context;

import com.example.common.utils.Statistics;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.SmartFactoryBean;

@Slf4j
public class LSmartFactoryBean implements SmartFactoryBean<Object> {

    private LSmartFactoryBean(){
        Statistics.logInfo(log);
    }

    @Override
    public Object getObject() throws Exception {
        return new Object();
    }

    @Override
    public Class<?> getObjectType() {
        return Object.class;
    }
}
